package com.fh.modules.oas.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fh.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import com.fh.common.query.QueryRuleEnum;
import com.fh.common.query.annotation.QueryWrapperRule;

/**
 * @Description: 工作日报
 * @author： code generator
 * @date：   2019-12-04
 * @version： V1.0
 */
@Data
@TableName("oas_timesheet")
public class OasTimesheet implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**用户id*/
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String userId;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String userName;
	/**姓名*/
	@Excel(name = "mantis编号", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String mantisCode;
	/**日报日期*/
	@Excel(name = "日期", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String jobDate;
	/**日报归属项目*/
	@Excel(name = "项目", width = 15,dicCode = "dailyProject" )
	@Dict(dicCode = "dailyProject")
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String jobProjectCode;
	/**日报归属平台*/
	@Excel(name = "平台", width = 15,dicCode = "dailyPlatform")
	@Dict(dicCode = "dailyPlatForm")
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String jobPlatformCode;
	/**日报类型*/
	@Excel(name = "日报类型", width = 15,dicCode = "dailyType")
	@Dict(dicCode = "dailyType")
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String jobTypeCode;
	/**完成状态*/
	@Excel(name = "完成状态", width = 15,dicCode = "dailyStatus")
	@Dict(dicCode = "dailyStatus")
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String jobStatusCode;
	/**工时*/
	@Excel(name = "工时", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private BigDecimal workHour;
	/**日报详情*/
	@Excel(name = "日报详情", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String jobComment;
	/**删除状态（0，正常，1已删除）*/
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private Integer delFlag;
	/**创建人*/
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String createBy;
	/**填报时间*/
	@Excel(name = "填报时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**更新人*/
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
}
